﻿<Page x:Class="University.Workshop.Presentation.WaterReading.ModifyWaterReading"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      Height="563" Width="780"
	Title="ModifyWaterReading"  Loaded="Page_Loaded">

    <Grid Height="563" Width="780">
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Height="50" Margin="20,0,12,459" Stretch="Fill" Stroke="#FFB6BDBA" VerticalAlignment="Bottom">
            <Path.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFF0F9F6" Offset="0" />
                    <GradientStop Color="sc#1, 0.8645034, 0.9386971, 0.9131128" Offset="0.036626586095394487" />
                    <GradientStop Color="sc#1, 0.849580646, 0.919979036, 0.8946999" Offset="0.046193367402403762" />
                    <GradientStop Color="sc#1, 0.8297841, 0.8951477, 0.8702733" Offset="0.052599494473647423" />
                    <GradientStop Color="sc#1, 0.8061086, 0.86545074, 0.8410604" Offset="0.057584354782454161" />
                    <GradientStop Color="sc#1, 0.7912979, 0.8468732, 0.822785735" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="1" />
                </LinearGradientBrush>
            </Path.Fill>
        </Path>
        <TextBlock FontSize="21" FontWeight="Bold" Margin="28,62,555,464" TextWrapping="Wrap"><TextBlock.Effect><DropShadowEffect BlurRadius="1" Color="White" Direction="270" Opacity="0.7" ShadowDepth="1" /></TextBlock.Effect> <Run Language="es-es" Text="Lectura de agua" /></TextBlock>
        <!--<Button Content="Modificar" Foreground="Black" Height="34" FontWeight="Bold" Margin="638,64,22,464" Name="ModifyBtn" />-->
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Fill="#FFD8E0DD" Margin="256,64,0,469" Stretch="Fill" Stroke="#4D9A8C8C" HorizontalAlignment="Left" Width="110" />
        <Label Content="Lectura actual" FontFamily="Aharoni" FontSize="11" Margin="270,75,426,472" Name="lblStepOne">
            <Label.Effect>
                <DropShadowEffect BlurRadius="1" Color="White" Direction="270" ShadowDepth="1" />
            </Label.Effect>
        </Label>
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Height="42" Margin="12,0,12,51" Stretch="Fill" Stroke="#FFB6BDBA" VerticalAlignment="Bottom">
            <Path.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFF0F9F6" Offset="0" />
                    <GradientStop Color="sc#1, 0.8645034, 0.9386971, 0.9131128" Offset="0.036626586095394487" />
                    <GradientStop Color="sc#1, 0.849580646, 0.919979036, 0.8946999" Offset="0.046193367402403762" />
                    <GradientStop Color="sc#1, 0.8297841, 0.8951477, 0.8702733" Offset="0.052599494473647423" />
                    <GradientStop Color="sc#1, 0.8061086, 0.86545074, 0.8410604" Offset="0.057584354782454161" />
                    <GradientStop Color="sc#1, 0.7912979, 0.8468732, 0.822785735" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="1" />
                </LinearGradientBrush>
            </Path.Fill>
        </Path>
        <Button Content="Guardar" Height="34" Margin="664,474,16,0" Name="SaveBtn"  TabIndex="45" FontWeight="Bold" VerticalAlignment="Top" Width="100" Click="SaveBtn_Click" />
        <Button Content="1" FontFamily="Segoe UI" FontSize="14" FontStretch="Normal" FontWeight="Bold" HorizontalAlignment="Left" IsEnabled="True" Margin="231,62,0,468" Name="GoStepOne" Width="33" />
        <Button Content="Cancelar" FontWeight="Bold" Height="34" Margin="0,61,23,0" Name="CancelBtn" TabIndex="45" VerticalAlignment="Top" Width="100" HorizontalAlignment="Right" Click="CancelBtn_Click" />
        <Label Content="Manzano:" Height="28" HorizontalAlignment="Left" Margin="442,170,0,0" Name="label1" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="501,167,0,0" Name="SquareTxt" VerticalAlignment="Top" Width="120" IsEnabled="False"/>
        <Label Content="Lote:" Height="28" HorizontalAlignment="Left" Margin="179,170,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="213,167,0,0" Name="AllotmentTxt" VerticalAlignment="Top" Width="120" IsEnabled="False"/>
        <TextBlock FontSize="21" FontWeight="Bold" HorizontalAlignment="Center" Margin="324,118,301,412" TextWrapping="Wrap" Width="155"><TextBlock.Effect><DropShadowEffect BlurRadius="1" Color="White" Direction="270" Opacity="0.7" ShadowDepth="1" /></TextBlock.Effect> <Run Language="es-es" Text="Datos Kardex" /></TextBlock>
        <Label Content="Apellido:" Height="28" HorizontalAlignment="Left" Margin="446,215,0,0" Name="label3" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="501,212,0,0" Name="LastNameTxt" VerticalAlignment="Top" Width="120" IsEnabled="False"/>
        <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="157,215,0,0" Name="label4" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Right" Margin="0,212,447,0" Name="NameTxt" VerticalAlignment="Top" Width="120" IsEnabled="False"/>
        <TextBlock FontSize="21" FontWeight="Bold" HorizontalAlignment="Center" Margin="324,281,301,249" TextWrapping="Wrap" Width="155"><TextBlock.Effect><DropShadowEffect BlurRadius="1" Color="White" Direction="270" Opacity="0.7" ShadowDepth="1" /></TextBlock.Effect> <Run Language="es-es" Text="Datos Lectura" /></TextBlock>
        <Label Content="Lectura actual:" Height="28" HorizontalAlignment="Left" Margin="415,331,0,0" Name="label5" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="501,328,0,0" Name="CurrentReadTxt" VerticalAlignment="Top" Width="120" MaxLength="15" PreviewTextInput="CurrentReadTxt_PreviewTextInput" />
        <Label Content="Lectura anterior:" Height="28" HorizontalAlignment="Left" Margin="116,331,0,0" Name="label6" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="213,328,0,0" Name="PreviousReadTxt" VerticalAlignment="Top" Width="120" IsEnabled="False"/>
        <Label Content="Monto a pagar" Height="28" HorizontalAlignment="Left" Margin="353,385,0,0" Name="label7" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="337,408,0,0" Name="PaymentAmountTxt" VerticalAlignment="Top" Width="120" IsReadOnly="True" />
        <Button Content="Calcular" FontWeight="Bold" Height="34" Margin="554,474,126,0" Name="CalculateBtn" TabIndex="45" VerticalAlignment="Top" Width="100" Click="CalculateBtn_Click" />
    </Grid>
</Page>
